﻿#ifndef CONFSETTINGS_H
#define CONFSETTINGS_H

#include "globalinstance.h"
#include <QStringList>

class ConfSettings : public GlobalInstance<ConfSettings>
{
    friend class GlobalInstance<ConfSettings>;
public:
    QString getTitleLabel();
    QString getDisplayName();
    QString appName;
    QString appDomain;
    QString appProxy;
    QString iconName;
    QString titleStyle;
    QString updaterName;
    bool defaultPhone;
    QList<QHash<QString, QString>> webButtons;

    void updateDomain(const QString &domain);
    QString validDomain;
    QString httpServer;
    void updateProxy(const QString &domain, const QString &proxy);
    QString validProxy;
    QString mdsList;
    QString protocolVer;
private:
    QString titleLabel;
    QString displayName;
    ConfSettings();
};


#endif // CONFSETTINGS_H
